package com.demo.service;

import com.demo.dto.AddIntegralDto;
import com.demo.dto.LoginDto;
import com.demo.dto.ShowWorksDto;
import com.demo.utils.ResponseResult;

/**
 * @Author: TLB
 * @Date: 2022/11/10 19:47
 */
public interface UserService {


    ResponseResult login(LoginDto loginDto);

    ResponseResult findRoleByName(String name);

    ResponseResult findByClassId(Integer classId);

    ResponseResult addIntegral(AddIntegralDto dto);

    ResponseResult showWorks(ShowWorksDto dto);

    ResponseResult resetGScoreByGroupId(Integer groupId);


}
